#pragma once

#include <unistd.h>

extern "C" {

extern int __wine_main_argc;
extern char **__wine_main_argv;
extern wchar_t **__wine_main_wargv;
extern char **__wine_main_environ;

void __wine_dll_register(const void *header, const char *filename);

extern void *wine_anon_mmap( void *start, size_t size, int prot, int flags );
extern void wine_mmap_add_reserved_area( void *addr, size_t size );
extern void wine_mmap_remove_reserved_area( void *addr, size_t size, int unmap );
extern int wine_mmap_is_in_reserved_area( void *addr, size_t size );
extern int wine_mmap_enum_reserved_areas( int (*enum_func)(void *base, size_t size, void *arg), void *arg, int top_down );

}
